package com.woniu.outlet.dao;

import com.woniu.outlet.po.PurchaseDetailPo;
import com.woniu.outlet.po.PurchaseDetailPoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PurchaseDetailPoMapper {
    long countByExample(PurchaseDetailPoExample example);

    int deleteByExample(PurchaseDetailPoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PurchaseDetailPo record);

    int insertSelective(PurchaseDetailPo record);

    List<PurchaseDetailPo> selectByExample(PurchaseDetailPoExample example);

    PurchaseDetailPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PurchaseDetailPo record, @Param("example") PurchaseDetailPoExample example);

    int updateByExample(@Param("record") PurchaseDetailPo record, @Param("example") PurchaseDetailPoExample example);

    int updateByPrimaryKeySelective(PurchaseDetailPo record);

    int updateByPrimaryKey(PurchaseDetailPo record);
}